﻿using System.Collections.Generic;

namespace BaseSyntax.Values.StringTest.Yaml.Configs
{
	public static class ClassIdMap
	{
		private static Dictionary<string, string[]> _map = new Dictionary<string, string[]>();

		static ClassIdMap()
		{
			//[unity_class_id] = {unityType, coronaType}
			//GameObject比较特殊，需要单独判定是Group 还是display对象
			_map["1"] = new[] {"GameObject"};
			
			// sprite 区分 Rect + image imageRect
			_map["213"] = new[] {"Sprite"};
			
			_map["224"] = new[] {"RectTransform"};
			_map["222"] = new[] {"CanvasRenderer"};
			_map["114"] = new[] {"MonoBehaviour"};
			_map["223"] = new[] {"Canvas"};
		}

		
		
		public static Dictionary<string, string[]> Map
		{
			get
			{
				return _map;
			}
		}
	}
}